package news.yp.newsproject.bean;

import java.util.List;

/**
 * 分页查询返回数据
 */
public class ResponsePageData {


    /**
     * messge : success
     * code : 0
     * data : [{"imgcon":"https://ichef.bbci.co.uk/news/1024/branded_news/138E3/production/_105199008_untitled-asf23431241.jpg","_id":"5c3efab59dc6d6580a9a1a2a","title":"El Chapo 'paid $100m bribe to former Mexican president Peña Nieto'"},{"imgcon":"https://static.bbc.co.uk/news/1.270.03189/apple-touch-icon-57x57-precomposed.png","_id":"5c3efab59dc6d6580a9a1a2b","title":"BBC News Swahili"},{"imgcon":"https://static.bbc.co.uk/news/1.270.03189/apple-touch-icon-57x57-precomposed.png","_id":"5c3efab69dc6d6580a9a1a2c","title":"BBC News Tiếng Việt"}]
     */

    private String messge;
    private int code;
    private List<DataBean> data;

    public String getMessge() {
        return messge;
    }

    public void setMessge(String messge) {
        this.messge = messge;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * imgcon : https://ichef.bbci.co.uk/news/1024/branded_news/138E3/production/_105199008_untitled-asf23431241.jpg
         * _id : 5c3efab59dc6d6580a9a1a2a
         * title : El Chapo 'paid $100m bribe to former Mexican president Peña Nieto'
         */

        private String imgcon;
        private String _id;
        private String title;

        public String getImgcon() {
            return imgcon;
        }

        public void setImgcon(String imgcon) {
            this.imgcon = imgcon;
        }

        public String get_id() {
            return _id;
        }

        public void set_id(String _id) {
            this._id = _id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }
}
